`this is the tcl code which gets parsed by the tcl interpreter when it reads this nib file in. It knows to do this because this text field is connected to the File's Owner's initalizationText outlet. For fun, you might muck about with this code and break it. What happens when you load it in? Can you think of better behavior? If so, let me know...
Helvetica
WWTextField
WWTextFieldCell
'set celsiusValue %f; calculateFarenheit
celsiusValue
Celsius:
Helvetica-Bold
'set farenheitValue %f; calculateCelsius
farenheitValue
5this Panel contains two UI objects which interact with the tcl interpreter that reads this nib file in. Note that the tcl interp knows about these UI controls NOT because they are explicitly connected to the File's owner, but rather because the panel that they're on is (via the controlPanel outlet).
What's especially neat is that by directly inspecting the object in IB, you can see not only what msg it sends when it gets manipulated, but also what value it is dependent on. This is in stark contrast to the normal way things work in IB where you could only see the message the object sends, and you would have to magically figure out who had connected to this object as one of their outlets. You would then have to examine that object to find what msgs it sent to that outlet at what times.
With the tcl way of doing things, whenever the expression that a UI object depends on changes, for any reason, a message is sent to each UI element that depends on that variable, and the UI element reevaluates itself in the current context of the tcl interp. Pretty neat, huh?